package com.liucxu.zimuzu.Api;

import com.liucxu.zimuzu.Model.Bean.ArticalBean;
import com.liucxu.zimuzu.Model.Bean.ArticalDetailsBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * 资讯列表接口
 * Created by liukanshan on 2016/12/30.
 */

public interface ArticalService {
    @FormUrlEncoded
    @POST("article/fetchlist")
    Observable<ArticalBean> getArticals(@FieldMap HashMap<String, String> maps);

    @FormUrlEncoded
    @POST("article/getinfo")
    Observable<ArticalDetailsBean> getArticalDetail(@FieldMap HashMap<String,String> values);
}
